import request from '@/utils/request'

// 客户文件列表
export function fileLists(params?: Record<string, any>) {
    return request.get({ url: '/file/list', params })
}

// 客户文件详情
export function fileDetail(params: Record<string, any>) {
    return request.get({ url: '/file/detail', params })
}

// 客户文件新增
export function fileAdd(params: Record<string, any>) {
    return request.post({ url: '/file/add', params })
}

// 客户文件编辑
export function fileEdit(params: Record<string, any>) {
    return request.post({ url: '/file/edit', params })
}

// 客户文件删除
export function fileDelete(params: Record<string, any>) {
    return request.post({ url: '/file/del', params })
}
